﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using abhishek.somnath.bidyut.library;

namespace MultipleProgs
{
    public class PrimeTesting
    {
        public static void Main()
        {
           
            Console.Write("Enter a No. :");
            int n = Convert.ToInt32(Console.ReadLine());

            bool prime = PrimeNo.IsPrime(n);
            if (prime == true)
                Console.WriteLine(n + " is Prime");
            else
                Console.WriteLine(n + " is Not Prime");

            Console.Read();

        }
    }
}
